{{if isset($authors['content']['authors']) && count($authors['content']['authors']) > 0}}
    <section class="bg-white rounded-xl shadow-sm p-5">
        <h3 class="font-bold text-lg mb-4 flex items-center">
            <i class="fa fa-user-circle text-primary mr-2"></i> 热门作者
        </h3>
        <div class="space-y-4">
            {{foreach $authors['content']['authors'] as $author}}
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <img src="{{$author['avatar']}}" alt="{{$author['name']}}" class="w-10 h-10 rounded-full object-cover">
                        <div class="ml-3">
                            <h4 class="font-medium text-gray-900">{{$author['name']}}</h4>
                            <p class="text-sm text-gray-500">{{$author['title']}}</p>
                        </div>
                    </div>
                    <button class="text-sm text-primary hover:text-primary-dark transition-colors">
                        <i class="fa fa-plus-circle mr-1"></i> 关注
                    </button>
                </div>
            {{/foreach}}
        </div>
    </section>
{{/if}}